package com.yangxf.springcloud.service;

import com.yangxf.springcloud.entities.CommonResult;
import com.yangxf.springcloud.entities.Payment;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

@Component
@FeignClient()
public interface PaymentFeignService {

    CommonResult<Payment> getPaymentById(@Param("id") int id);
}
